package com.clps.digital.service;

import com.clps.digital.common.BaseResponse;
import com.clps.digital.model.entity.Currency;
import com.clps.digital.model.dto.Currency.TradeCurrency;
import com.clps.digital.model.entity.Property;
import com.clps.digital.model.entity.User;
import com.clps.digital.model.vo.PropertyByCurrency;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: 小炎子
 * @Date: 2024/9/2 上午11:10
 * @Description: $
 **/
public interface CurrencyService {

    List<Currency> getCurrency();

    BaseResponse<String> buyCurrency(TradeCurrency tradeCurrency);

    BaseResponse<String> sellCurrency(TradeCurrency tradeCurrency);

    List<PropertyByCurrency> getProperty();

    BigDecimal getCurrencyNumber(BigDecimal bigDecimal,Long id);
}
